package com.tsing.wms.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 供应商表
 * </p>
 *
 * @author TheTsing
 * @since 2022-04-13
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("t_supplier")
public class SupplierEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 供应商表主键
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    /**
     * 供应商名称
     */
    private String name;

    /**
     * 供应商地区id
     */
    private String regionId;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 负责人id
     */
    private String userId;

    /**
     * 供应商等级
     */
    private Integer grade;

    /**
     * 描述
     */
    private String description;


}
